/*
 * WaterSupply.hpp
 *
 *  Created on: 12-01-2011
 *      Author: Przemek
 */

#pragma once

#pragma once

#include "Supply.hpp"

/*
 * Drinkable supply for both carnivore and herbivore.
 */
class WaterSupply: public Supply
{
	public:
		const static float CHANCE_OF_RAIN;

	public:
		WaterSupply();
		WaterSupply(const WaterSupply& other);
		explicit WaterSupply(const Vector& position);
		void accept(ElementsVisitor& visitor);

	private:
		float getSpoilageStep() const;
};
